This repository has been archived on 2023-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
Boups/Elements/Scripts/Directory.gd

11 lines
243 B
GDScript
Executable file

extends Area2D
func _on_Area2D_mouse_entered() -> void:
print("coucou")
Input.set_default_cursor_shape(Input.CURSOR_POINTING_HAND)
func _on_Area2D_mouse_exited() -> void:
print("bye")
Input.set_default_cursor_shape(Input.CURSOR_ARROW)