touchscreen button shape not moving with the button texture

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

im trying to make an rpg moblie game with a joystick an some button
my node tree is :
player (rigid body):camera(camera2d):joystick(touchscreenbutton), button1(tuochscreenbutton)

when ever the player move, the texture of the button move with the camera but the shape off the button stay still and in some cases the shape of the button isnt event in the middle of the button texture unlike in the editor

:bust_in_silhouette: Reply From: MaaaxiKing

What do you mean with touchscreen? There’s no node with this name! Reparent you joystick and button1 to player.

sr i fixed it , the reparenting didn’t work

the shape of the joystick or any button i made always seem to be above the texture by the same length like above

kietjay123 | 2020-06-11 10:24