First builds and stuff done yipewaho
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using Godot;
|
||||
|
||||
public partial class DragArea : Area2D
|
||||
{
|
||||
public override void _InputEvent(Viewport viewport, InputEvent @event, int shapeIdx)
|
||||
{
|
||||
if (@event is InputEventMouseButton mb && mb.Pressed)
|
||||
{
|
||||
GD.Print("Area clicked");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user