|
|
|
|
Attention |
Topic was automatically imported from the old Question2Answer platform. |
|
Asked By |
kietjay123 |
im trying to make a mobile which include multiple touch input at a same time how do i seperate them depending on which region of the screen it touch
|
|
|
|
Reply From: |
supper_raptor |
use TouchScreenButton
if you are taking multiple touch inputs (button press).
OR
do something like this
func _input (event):
#evaluate touch 600 pixels from left side of the screen
if event.position.x > 600:
if event is InputEventScreenDrag:
#handle screen drag here
elif event is InputEventScreenTouch:
#handle touch