Lookup by GDScript construct. GDScript stays visible above the selected JVM language. Examples use Inferred registration unless another mode is stated. Full contracts are linked from each entry. Member snippets belong inside a registered script class; Player denotes that class.
Use @Visible to register a property without showing it in the Inspector. Property hints table lists annotations for sliders, file pickers, and other controls.
Godot's own callbacks (_ready, _process, _physics_process, ...) are recognized from the
override alone. An ordinary function you want Godot or another script to call needs @Register.
Write properties and functions in your language's normal style; Godot-JVM registers them to Godot
in snake_case automatically. moveSpeed becomes move_speed, takeDamage becomes take_damage.
This applies uniformly to properties, functions, and signals.
A dynamic Variant carrier accepts values Godot can represent, not arbitrary JVM objects. JVM arrays/collections are not general substitutes for Godot containers. See types and conversions.
These helpers preserve spelling. toGodotName converts camelCase member names; conversion reference.
Callable
GDScript method references become typed JVM method callables; JVM lambdas become lambda callables. Method callables require a Godot-visible method. A JVM lambda does not need a registered script function. See Callables for each language's construction and binding signatures.
await
GDScript's await signal has a Kotlin coroutine equivalent, signal.await(), inside a coroutine. Java and Scala use callbacks through signal connections; there is no corresponding language-level suspend operation supplied by the binding. See Coroutines and signal connections.
Value-type property mutation
A value such as Vector3 read from Godot is a copy. Mutating the copy does not update its original property. Assign it back; see copy and shared-storage rules. JVM container wrappers can share their storage with Godot while individual value-type elements are copied.
free, queue_free, and validity
The binding exposes free(), queueFree(), and GD.isInstanceValid(...). A non-null JVM reference may point to an already freed native object. JVM garbage collection does not replace scene ownership or explicit cleanup of ordinary Godot objects. See Objects and lifetime.
Script files and reloading
Project scripts attach through .kt, .java, or .scala; dependency scripts use .gdj. Registration changes require a full build. fastBuild reuses registration for implementation-only edits. GraalVM native images cannot reload classes. See script files and Gradle tasks.
Calling GDScript from JVM code
Use dynamic call and get with Godot member names on a node with a GDScript attached. These snippets belong inside a node method; the child Other defines heal(amount) and health.