CyberTower/scripts/Tower.gd

6 lines
133 B
GDScript3
Raw Normal View History

2024-02-16 10:10:00 +00:00
extends Area2D
func _ready():
var screen_size = get_viewport_rect().size
position = Vector2(screen_size.x / 2, screen_size.y / 2)