1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-22 13:33:13 +00:00
Pixelorama/Scripts/FrameButton.gd

7 lines
125 B
GDScript

extends Button
var frame := 0
func _on_FrameButton_pressed() -> void:
Global.current_frame = frame
Global.change_frame()