❔ How to make an object follows my mouse?

SSaltTonic12/13/2022
so I am new at programming and trying to make a top down shooting games in windows form app. My lecturer let us only using visual studio not unity or game maker. Is there any way to make an object to follow my cursor?
AAntonC12/13/2022
there are events for mouse movements. subscribe to one of these and set the position of the object in there
AAntonC12/13/2022
visual studio won't help you here, write code
SSaltTonic12/13/2022
ohh alright
SSaltTonic12/13/2022
let me try it
AAccord12/14/2022
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.