answersLogoWhite

0


Best Answer

Select the object you want and make a step event. Then under the step event put "jump to position" and for the values put mouse_x and mouse_y. This means every step it will jump to the exact position of the mouse. The steps are equivalent to about a millisecond, so it should move right along with your mouse. Hope this helps.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you make a point on your object follow your cursour in game maker?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you make an object follow you and collide with you in game maker even you walk?

Whatever code you're using to make the object follow the character, place this in the step event. Then, the object will always be moving towards the other. Specifically, make it move towards point: X: character.x Y: character.y


How do you make an obj follow the mouse until you press a button in game maker?

make a variable true until you press the button. in step event for the object use a move twards point action and set "x" to "mouse_x" and "y" to "mouse_y"


Game Maker - How can you make an object follow another object only when both objects are in play?

when it is play, use a variable like "inplay" and set it to true. if it isn't, set "inplay" to false. so use the Test Variable action and say if inplay is equal to true, use the action to move towards the point.


How would a 2D sword or gun be created in Game-maker 3D from first person view?

To make a 2D sword or gun and create it in Game-maker 3D from first person view takes a lot of steps. You will have to have drawings of the object, point to the object with the camera, run the program, and have collision detection and finally performing the object to what you want it to do.


How do you explain the term point object in physics?

A point object is refers to a tiny object which is calculated or counted as dot object to simplyfy the calculations...


When is an object in motion considered to be a point object?

when the object is at rest


An object is in motion only if its distance from a reference point is?

An object is in motion only if its distance from a reference point is changing. The average speed of the object is given by the object's rate of change of displacement from the reference point over time.


Is a reference point the object to which we compare another object's motion?

Yes, that is one meaning of "reference point", although the reference point need not be an object, but may simply be a location.


Can moving objects be a reference point?

No because enable to see if the object is moving it needs a reference point other than itself.


Where can one find a free banner maker online?

There are several websites that provide a free banner maker service. Examples of these sites include My Banner Maker, Digital Point and Banner Maker Site.


What happens at the melting point of an object?

Depends on what the object is.


What is the speed of an object at a certain point in time?

The speed of an object as a certain point in time is its instantaneous speed.