API Reference > imodeljs-frontend > Rendering > ScreenSpaceEffectBuilder > shouldApply shouldApply MethodOptional If defined, a function invoked each frame before the effect is applied. If it returns false, the effect will be skipped for that frame. shouldApply(context: ScreenSpaceEffectContext): boolean Parameter Type Description context ScreenSpaceEffectContext Returns - boolean Defined in core/frontend/src/render/ScreenSpaceEffectBuilder.ts Line 200 Last Updated: 11 June, 2024