You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
@tool
|
|
|
|
|
extends Control
|
|
|
|
|
|
|
|
|
|
var cursor_inside: bool
|
|
|
|
|
|
|
|
|
|
func _notification(what: int) -> void:
|
|
|
|
|
if what == NOTIFICATION_MOUSE_ENTER:
|
|
|
|
|
cursor_inside = true
|
|
|
|
|
queue_redraw()
|
|
|
|
|
elif what == NOTIFICATION_MOUSE_EXIT:
|
|
|
|
|
cursor_inside = false
|
|
|
|
|
queue_redraw()
|