ld-56/src/buttons.gd
2024-10-07 04:25:58 -04:00

7 lines
191 B
GDScript

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)