How can i move a Kiematicbody2d whit a touchscreen button???

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ManiCus

How can i move a Kiematicbody2d whit a touchscreen button??? i connected with:
func onTouchScreenButton_pressed(): (and i put):
velocity.x += 600 (with ui-right works), but with touchscreen its not working :frowning:

PD: THE TOUCHSCREEN IS WORKING BEACAUSE THE ANIMATIONS ARE WORKING :V, but de kinematicbody dosen’t move, and the movement with “ui-right”/“ui-left” is working.

Please add more info and include screen shots
Having very least info will cause your question to be ignored

Wadah | 2020-04-21 18:38