Can u make a moving button ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Sr00k
:warning: Old Version Published before Godot 3 was released.

I wanna make a tap game. The goal is just to have a button that can move up down left right diagonal etc.

:bust_in_silhouette: Reply From: kidscancode

Sure! A Button, like all Control nodes, has a set_pos() function so you can move it however you like.

Alternatively, you can use an Area2D and detect the mouse/tap interaction by using set_pickable(true).

wow that was quick. Thanks alot!!

Sr00k | 2017-10-01 19:51