playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
playmaker UI joystick limiting the thumb graphic[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: playmaker UI joystick limiting the thumb graphic[SOLVED] (Read 651 times)
colpolstudios
Sr. Member
Posts: 370
playmaker UI joystick limiting the thumb graphic[SOLVED]
«
on:
May 08, 2021, 03:28:00 PM »
I would like to limit the Thumb graphic so that it only moves left and right with no up or down positions.
Is this possible, if so can you help me do it?
«
Last Edit: May 17, 2021, 02:00:50 AM by jeanfabre
»
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: playmaker UI joystick limiting the thumb graphic
«
Reply #1 on:
May 13, 2021, 09:34:49 AM »
Hi.
You can add a 'Get Vector2 XY'
Then store the X value
Then on the 'Rect Transform Set Anchored Position' set "position" to none and set the stored x to X (see image)
Logged
Join the PlayMaker Discord Channel!
colpolstudios
Sr. Member
Posts: 370
Re: playmaker UI joystick limiting the thumb graphic [SOLVED]
«
Reply #2 on:
May 16, 2021, 12:34:45 PM »
sorry for the late reply, worked great thankyou
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
playmaker UI joystick limiting the thumb graphic[SOLVED]