Hi. I’ve been making a homing attack feature for my game but it doesn’t really work… I’m using homing projectile behavior to have the player move to the enemy. but It only moves the player when you hold the homing button! not only that but I don’t know how to re-enable the platformer behavior after I stop holding the x key. here’s my code:
Use an boolen object variable to indicate whether the player is locked on or not. Set it in the event in your screen shot, and create another event with a condition that checks if that boolean variable is true, and has the move projectile command as the action