Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

[SOLVED] Checking if filter is on via js if statement

A topic by myolden666 created Jul 24, 2026 Views: 63 Replies: 2
Viewing posts 1 to 2
(1 edit)

Hey there,

Trying to get this plugin set up with my existing custom options menu, and an issue has popped up.

Essentially, when the menu loads a script is run that checks if the filter is active or not. The code is this:

if ($gameSystem.setCRTEffects() === true) {menu stuff happens here}

For some reason that if statement always returns false? Is there any way to check if the filter is active during runtime?

Thanks

Developer

Hi.

You just need to write it like this:

if ($gameSystem.isCRTEffectsEnabled()) {stuff}

That worked. Thank you!