blob: 6442fe50c2be8a0a785db20dfbda3484707bad54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
extends Control
func _gui_input(event):
if event is InputEventMouseButton:
if event.button_index == BUTTON_LEFT and event.pressed:
print("I've been clicked D:")
get_parent().toggle_playback()
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
|