Explorar o código

description for Input.is_mouse_button_pressed()

Adham Zahran %!s(int64=9) %!d(string=hai) anos
pai
achega
9d8b798d44
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      doc/base/classes.xml

+ 2 - 1
doc/base/classes.xml

@@ -13754,6 +13754,7 @@ returns:= "username=user&password=pass"
 			<argument index="0" name="button" type="int">
 			</argument>
 			<description>
+			Returns true or false depending on whether mouse button is pressed or not. You can pass BUTTON_*, which are pre-defined constants listed in [@Global Scope].
 			</description>
 		</method>
 		<method name="is_joy_button_pressed">
@@ -13764,7 +13765,7 @@ returns:= "username=user&amp;password=pass"
 			<argument index="1" name="button" type="int">
 			</argument>
 			<description>
-			Returns if the joystick button at the given index is currently pressed. (see JOY_* constans in [@Global Scope])
+			Returns if the joystick button at the given index is currently pressed. (see JOY_* constants in [@Global Scope])
 			</description>
 		</method>
 		<method name="is_action_pressed">