ld-56/src/buttons.gd

8 lines
191 B
GDScript3
Raw Normal View History

2024-10-07 08:25:58 +00:00
extends Node2D
func _ready() -> void:
var screen_size = DisplayServer.screen_get_size(0)
get_window().position = Vector2i(screen_size.x - 100, 0) + DisplayServer.screen_get_position(0)