Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do I get the MouseConstraint to work? #47

Open
Lacymonster opened this issue May 24, 2023 · 1 comment
Open

how do I get the MouseConstraint to work? #47

Lacymonster opened this issue May 24, 2023 · 1 comment
Assignees
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@Lacymonster
Copy link

Description

I want to be able to move my object with the mouse but I cant figure out where the script goes and how it works.

So far I have

Ive tried placing it in all different spots in the script but none of them worked

Lastly

no

@Lacymonster Lacymonster added help wanted Extra attention is needed question Further information is requested labels May 24, 2023
@jaipack17
Copy link
Owner

Documentation might help, you need to require the Plugins module from the Nature2D folder, and then call Plugin.MouseConstraint(Engine, range) here range is the radius within which a point can be held with the mouse on click.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants