is it possible to get the current state of the ghosting settings in the forge viewer?
I basically want to be able to do something like
if(ghosting === true) {do something} else {do something else }
Are you talking about this option in the settings panel ?
If so, you can get the state of this setting (and all others) like that :
viewer.getState().renderOptions.appearance.ghostHidden