#How to use a touchpad
1 messages · Page 1 of 1 (latest)
<@&1050648858243379231>
I need to make an GUI object which is the object with the touchpad component and it will move an arrow(cursor)
Wheen I tried it, it sets the arrow coordinates to its coordinates
This is the only code which got the arrow to move similary to how I need, but it will force the cursor at the coordinates of the Touchpad
This is what I try to make
instead of setting the x,y, try switching the = to a + symbol by tapping on it and changing the formula to be just movement vector local
So object(xy) + movement vector?
yea
multiply the movement vector
With any number?
movement vector x number
your welcom :3
Also uh... Hwavy apologies for another disturbance I'm such a burden But how do I make the cursor to actually tap on stuff since I thought GUI's have collision detectors but they dont and now nothing makes sense. And I have no idea how to make the GUI connected to the Map.
Like wheen I tap the Touchpad, the cursor taps too and wheen the cursor taps on something, that something does something? @coarse lance incase you may...
er
it would be pretty complex, since broadcast to map when tapped, sending your position in that broadcast and checking if an object is in that position
you could convert it into a map object by just making the cursor send broadcast to a cursor map object which functions as a real one, the fake one can stay hidden
What if it works inside the map?