Jump to content

sprite.input.allowVerticalDrag = false;


rodrigezer
 Share

Recommended Posts

Helllo.

 

This code let us dran in the vertical

// This will lock the sprite so it can only be dragged horizontally, not verticallysprite.input.allowVerticalDrag = false;

There is a method that allows you to drag in a circle? When you start dragging the sprite does not move but that allows you to spin in placer

 

something like

sprite.input.allowRadialDrag = true;

I need drag this handle, and it drag in circle (image)

 

post-5496-0-77283100-1385737583.png

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...