Hello everyone,

I am currently working on a game where a player has to choose tiles that are a factor of a certain number on a board. In order to make the game more interesting, the majority of the tiles have to be the wrong answer by default, making the tiles that are the correct answer more difficult to weed out.

The incorrect tiles, simply named “tiles” are meant to always display a number that is not a correct answer, should never be a factor of the chosen multiple (The player gets to pick which number they want the target multiple to be). Unfortunately, the intentionally incorrect tiles seem to be ignoring the condition that if they are a multiple of the selected number, they must change to another number within the intended parameters.

I’ve tried multiple tricks on this forum in order to have something detect if one number is a multiple of another, but nothing seems to have helped so far. So, if anyone knows, I would like to know how to make my game check if the frame of a certain object, in this case being the intentionally incorrect tiles, is a multiple of a given number variable.

Here’s a screenshot of what I currently have:

In this case, the variable InGameMultiple is a number variable that the player chooses the number of, and if the frame of the tile is a multiple of that, it should execute the action on the right. Please let me know what I need to change in order to fix this, and thank you in advance.