mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-07 05:02:04 +02:00
Make drop areas react to collision with "cursor" scene
This is a preparation to allow drop areas on GUI elements.
This commit is contained in:
parent
f6c7ef90d8
commit
38faac5485
10 changed files with 53 additions and 12 deletions
scenes
4
scenes/cursor.gd
Normal file
4
scenes/cursor.gd
Normal file
|
@ -0,0 +1,4 @@
|
|||
extends Node2D
|
||||
|
||||
func _process(delta):
|
||||
global_position = get_global_mouse_position()
|
Loading…
Add table
Add a link
Reference in a new issue