C
C#2y ago
SaltTonic

❔ How to make an object follows my mouse?

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?
3 Replies
Anton
Anton2y ago
there are events for mouse movements. subscribe to one of these and set the position of the object in there visual studio won't help you here, write code
SaltTonic
SaltTonicOP2y ago
ohh alright let me try it
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server