فهرست منبع

Clarify is_action_pressed() for multiple assigned buttons

Tomasz Chabora 6 سال پیش
والد
کامیت
7e329a7251
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      doc/classes/Input.xml

+ 1 - 1
doc/classes/Input.xml

@@ -222,7 +222,7 @@
 			<argument index="0" name="action" type="String">
 			</argument>
 			<description>
-				Returns [code]true[/code] if you are pressing the action event.
+				Returns [code]true[/code] if you are pressing the action event. Note that if an action has multiple buttons asigned and more than one of them is pressed, releasing one button will release the action, even if some other button assigned to this action is still pressed.
 			</description>
 		</method>
 		<method name="is_joy_button_pressed" qualifiers="const">