Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

rectangle stick to mouse position??

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
ahmedsheeraz

rectangle stick to mouse position??

Post by ahmedsheeraz » 19 Nov 2013, 08:04

Hi all, just wanna know is there any built-in function or something to let an object follow or stick to mouse? In windows mouse node, clippedX and clippedY values are only spitting values from -1 to 1 and i dont think pixelx and pixely values are of anyuse in this scenerio. So any idea how can i manipulate object's axis node x,y pos to get values from windows mouse node or any predefined node is there already?

ahmedsheeraz

Re: rectangle stick to mouse position??

Post by ahmedsheeraz » 19 Nov 2013, 13:07

fanstastic!! thanx.

d4mance

Re: rectangle stick to mouse position??

Post by d4mance » 03 Apr 2014, 16:02

I tried it that way and I also found out how to solve this with the WinMouse. But when I'm leaving the window with the cursor, the object sticks to the last position at the border (of course). Is there a way to let it float back to the center of the window again?

Post Reply