summaryrefslogtreecommitdiff
path: root/scene/2d/position_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/position_2d.h')
-rw-r--r--scene/2d/position_2d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/2d/position_2d.h b/scene/2d/position_2d.h
index c95315fea3..ec73c02d2b 100644
--- a/scene/2d/position_2d.h
+++ b/scene/2d/position_2d.h
@@ -41,10 +41,15 @@ class Position2D : public Node2D {
protected:
void _notification(int p_what);
+ static void _bind_methods();
public:
virtual Rect2 _edit_get_rect() const;
virtual bool _edit_use_rect() const;
+
+ void set_gizmo_extents(float p_extents);
+ float get_gizmo_extents() const;
+
Position2D();
};