Right mouse button down ?
Sprite > instance Munition > 12 ?
_______________ Sprite > Set boolean true
In the Animations Group
Sprite > Is boolean instance variable set ?
_______________ Sprite > set animation
In some other group
Sprite > Is boolean instance variable set ?
_______________ Sprite > do something else
_______________ UNREFERENCED object > do something
That sort kinda of situation?
Dont understand why you would use the expression. The condition is perfect fine ?
And blazing fast, if not true ... it just skips all the subs and actions.
There is no way that you can do it faster than this.
Unless i dont know where you are going with this.
You (i think) forget two important things.
1/ That boolean needs to be set false again. Setting that boolean false is not always easy. In this case it is easy.
On Right mouse released
_______________ Sprite > Set boolean true
This is a new event. As you notice.
2/ You see (i think) that boolean just as something that true/untrue. But it is way more then that.
Never forget the 'Sprite' that i wrote several times up there.
The condition 'Sprite > Is boolean instance variable set' PICKS all instances for that Sprite with that boolean = true. Its action work on all picked sprites.
As long as that picklist is not empty, actions addressing unreferenced objects will work on all instances of that unreferenced object.
So, if you set a boolean, and use that later to set animations (by instance), the condition also picks the right objects to set the animation to.
That might sound weird because you talk about an object with only 1 instance. Yet, also that 1 instance needs to be picked. And you better pick it intentional, rather than par hazard.