diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-11 00:26:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-11 00:26:56 +0200 |
commit | d0cea291d2b179610f20fb7136b3e74f26621e92 (patch) | |
tree | 1d2b093f9d2ba8b7289dbcdff57c81bdbb89c603 /doc/classes | |
parent | 21e1ff4bb0bc982f97bf1d21637fe259badb2e22 (diff) | |
parent | 7eebb06b5571437828d8c5099558c303c72cd1f4 (diff) |
Merge pull request #40193 from KoBeWi/dem_pikks
Allow Area2D and 3D mouse events without collision layer
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/CollisionObject2D.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/classes/CollisionObject2D.xml b/doc/classes/CollisionObject2D.xml index e8f7a59e4c..c2dd48108f 100644 --- a/doc/classes/CollisionObject2D.xml +++ b/doc/classes/CollisionObject2D.xml @@ -216,8 +216,8 @@ </method> </methods> <members> - <member name="input_pickable" type="bool" setter="set_pickable" getter="is_pickable" default="true"> - If [code]true[/code], this object is pickable. A pickable object can detect the mouse pointer entering/leaving, and if the mouse is inside it, report input events. Requires at least one [code]collision_layer[/code] bit to be set. + <member name="input_pickable" type="bool" setter="set_pickable" getter="is_pickable"> + If [code]true[/code], this object is pickable. A pickable object can detect the mouse pointer entering/leaving, and if the mouse is inside it, report input events. </member> </members> <signals> @@ -229,17 +229,17 @@ <argument index="2" name="shape_idx" type="int"> </argument> <description> - Emitted when an input event occurs. Requires [member input_pickable] to be [code]true[/code] and at least one [code]collision_layer[/code] bit to be set. See [method _input_event] for details. + Emitted when an input event occurs and [code]input_pickable[/code] is [code]true[/code]. See [method _input_event] for details. </description> </signal> <signal name="mouse_entered"> <description> - Emitted when the mouse pointer enters any of this object's shapes. Requires [member input_pickable] to be [code]true[/code] and at least one [code]collision_layer[/code] bit to be set. + Emitted when the mouse pointer enters any of this object's shapes. </description> </signal> <signal name="mouse_exited"> <description> - Emitted when the mouse pointer exits all this object's shapes. Requires [member input_pickable] to be [code]true[/code] and at least one [code]collision_layer[/code] bit to be set. + Emitted when the mouse pointer exits all this object's shapes. </description> </signal> </signals> |