InputEventAction.xml 1006 B

123456789101112131415161718192021222324
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="InputEventAction" inherits="InputEvent" category="Core" version="3.1.2">
  3. <brief_description>
  4. Input event type for actions.
  5. </brief_description>
  6. <description>
  7. Contains a generic action which can be targeted from several type of inputs. Actions can be created from the project settings menu [code]Project &gt; Project Settings &gt; Input Map[/code]. See [method Node._input].
  8. </description>
  9. <tutorials>
  10. <link>https://docs.godotengine.org/en/3.1/tutorials/inputs/inputevent.html#actions</link>
  11. </tutorials>
  12. <methods>
  13. </methods>
  14. <members>
  15. <member name="action" type="String" setter="set_action" getter="get_action">
  16. The action's name. Actions are accessed via this [String].
  17. </member>
  18. <member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
  19. If [code]true[/code], the action's state is pressed. If [code]false[/code], the action's state is released.
  20. </member>
  21. </members>
  22. <constants>
  23. </constants>
  24. </class>