Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Nikola-Milovic |
So here’s my setup
Imgur: The magic of the Internet and I cannot get my two texture buttons to detect any clicks. The canvas layer is layer = 2 and this is the camera code I am using.
(also the buttons under the UI control node also cannot be clicked)
The camera isnt following anyone, just need it to pan around when the user drags.
func _input(event):
if event is InputEventScreenDrag:
position += event.relative.normalized() * -1 * camera_speed