diff options
Diffstat (limited to 'doc/classes/Control.xml')
-rw-r--r-- | doc/classes/Control.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index f45ddf2738..f2ab6cb07e 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -801,7 +801,7 @@ Shows the given control at the mouse pointer. A good time to call this method is in [method _get_drag_data]. The control must not be in the scene tree. You should not free the control, and you should not keep a reference to the control beyond the duration of the drag. It will be deleted automatically after the drag has ended. [codeblocks] [gdscript] - export (Color, RGBA) var color = Color(1, 0, 0, 1) + @export var color = Color(1, 0, 0, 1) func _get_drag_data(position): # Use a control that is not in the tree @@ -1001,6 +1001,7 @@ </member> <member name="rotation" type="float" setter="set_rotation" getter="get_rotation" default="0.0"> The node's rotation around its pivot, in radians. See [member pivot_offset] to change the pivot's position. + [b]Note:[/b] This property is edited in the inspector in degrees. If you want to use degrees in a script, use [member rotation_degrees]. </member> <member name="rotation_degrees" type="float" setter="set_rotation_degrees" getter="get_rotation_degrees"> Helper property to access [member rotation] in degrees instead of radians. |