Did you ever want to draw a spinning target to the mouse position? It's pretty much a simple code! However, I have found different methods for this.
Method 1: If you want the mouse x and y to meet at a location first, you can use the draw feature.
//Draw Event
draw_sprite(mouse_x,mouse_y,spr_MouseCursor)
You can do whatever. If you have registered or pro, you can expand that option to this one.
//Draw Event (For Pro or GM6.1 Registered)
draw_sprite_ext(spr_MouseCursor,image_index,mouse_x,mouse_y,1,1,0,c_white,image_alpha)
Now once you prepare your cursor, you'll need to setup the x and y collisions or something.
//Step Event!
if mouse_x=50 && mouse_y=25 {action=true}
Yeah, you'll have to edit that. Change the number, and the action=true part.
Method 2: I personally find this way to be easier. There's two options for the animated cursor then. One is to KEEP the image plain (for Pro/Registered) or the alternate way is to use Game Maker's sprite rotation feature in the sprite editor.
Alt 1: In the cursor object, setup the sprite. In the step event, add this code.
//Step Event (Pro/Registered Only!)
image_angle+=18 //You can change the number
Once you finish with that, you're set to go. Just make a collision event to indicate whatever.
Alt 2: In the sprite editor, make a copy of the sprite just incase you need the original. In your sprite, make a rotation by going to Animation>Rotation>whichever direction you desire. After that, you can just save that sprite and load it up into your object, no real code needed.