Skip to reading
GDScript Programming & Godot

IfCharacterMoving()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
On this page
Code example
IfCharacterMoving(character_id: String = "player") -> bool

Check whether a character is currently moving.

Returns: Boolean.

Code example
IfCharacterMoving("player")

EndVisualScript()#

Code example
EndVisualScript(end_parent: bool = false) -> void

Request the running visual graph to finish, optionally including its calling graph.

Returns: Void.

Code example
EndVisualScript(false)

This is not a break or return for a native function or unrelated action array.

End()#

Code example
End() -> void

Compatibility no-op: return from this helper.

Returns: Void.

Code example
End()

It does not end the surrounding native function, quit the game or close a GDScript block. Use return in native code.

Page 77 of 378Permalink
Go to page