GDquest has started a new kickstarter campaign to create a professional tutorial for Godot, focused on 2d games.
"Learn to create 2d games with the award-winning, Open Source engine Godot 3. Free daily tutorials on Youtube during the campaign!" "You will learn to create your own top-down game inspired by Zelda"

What does TouchscreenButton.set_passby_press() do?

1000h1000h Posts: 88Member
edited March 17 in Programming

Wondering what the function

TouchscreenButton.set_passby_press()

does

and why I would choose TouchScreenButton instead of just using a Control's TextureButton or TextureFrame


Tags :

Answers

  • memermemer Posts: 6Member
    Answer ✓

    If passby press is true, the button can be activated by swiping over it, otherwise you can only activate it by pressing on top of it.

Sign In or Register to comment.