Hello there,
I am wondering, why do you put the condition in the tick ? isnt it too much heavy for the machine to do by this way ?
Instead of doing this each frames, i purpose to do it when the trigger is activated or deactivated, by this way, the action will be called only one time and not each frames.
If i am wrong, let me know please.
Have a good day.