I have an event where when the player uses the right mouse click, my sprite has the bullet behavior enabled and rotates 360 degrees to the mouse x and y position. Then it sets a global variable called goalX to the mouse x position. Then in a separate event where if goalX = my sprite.X it disables the bullet behavior on the player but this doesn't work. Any help on getting this to work would be greatly appreciated!