Actions on inverted condition won't occur


I’m trying to make a jitter and grow effect when the mouse is over a button, and then it shrinks and goes back to its regular position when the mouse is taken off, but the button would only shrink when I inch my mouse and the jitter moved it out from below my mouse on the same frame. I tried adding a hitbox that acts as the button so that the jitter and size are appearance only, but now the events under the inverted mouse over hitbox dont occur at all.

If it’s significant, the button, its text, and the hitbox are all created and edited dynamically through a function.

SOMETIMES you need to use NOT

Add condition type in search bar NOT
And move there your condition

Your condition should not be inverted

That last event is a sub event of the parent. The parent has the condition “mouse is over hitbox”, while the last event has a contradicting condition and won’t be actioned.

I’d suggest a refactor of your events. I’m going on the assumption the mouse can only be over 1 Buttons or Hitbox object at any time. In which case, change your events to:

2 Likes