answersLogoWhite

0

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

15y ago

What else can I help you with?

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.


What is The distance between an object and a reference point is the object's?

The distance between an object and a reference point is the object's displacement from the reference point. It is typically measured in a straight line from the reference point to the object.


What is the focal point of an object?

The focal point of an object is the point where light rays converge after passing through a lens or reflecting off a mirror. It is a point where the image of the object is formed.


A place or object used for comparing the movement of an object?

A reference point is a place or object used for comparing the movement of another object. It helps to determine the position or speed of the object in relation to the reference point.


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

Yes, a reference point is the specific object or location used to determine the motion of another object relative to it. It serves as a fixed point for comparison in measuring the position or velocity of the moving object.


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.


How do you explain the term point object in physics?

In physics, a point object is an idealized object that is considered to have mass but occupies a single point in space, meaning it has no size or volume. Point objects are used to simplify calculations and models in physics, particularly in analyzing motion and interactions between objects.


How does the description of an object position depend on a reference point?

The description of an object's position depends on the reference point because it determines the direction and magnitude of the object's displacement. The reference point serves as a starting point from which the position of the object is measured. By choosing different reference points, the description of the object's position relative to the reference point may change.


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.