Godot Version
4.3
Question
how can I make the UI always be at the edge of the screen?
this is my curent code
@export var player_camera:Camera2D
func _input(event: InputEvent) -> void:
#zoom the player's camera
if Input.is_action_just_released("wheel_up"):
player_camera.zoom.x += scroll_force
player_camera.zoom.y += scroll_force
elif Input.is_action_just_released("wheel_down"):
player_camera.zoom.x -= scroll_force
player_camera.zoom.y -= scroll_force
thank you for your attetion