Click or drag to resize

ObjectCallDeferred Method

Calls the method on the object during idle time. This method supports a variable number of arguments, so parameters are passed as a comma separated list. Example:

call_deferred("set", "position", Vector2(42.0, 0.0))

Note: In C#, the method name must be specified as snake_case if it is defined by a built-in Godot node. This doesn't apply to user-defined methods where you should use the same convention as in the C# source (typically PascalCase).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void CallDeferred(
	string method,
	params Object[] args
)

Parameters

method
Type: SystemString

[Missing <param name="method"/> documentation for "M:Godot.Object.CallDeferred(System.String,System.Object[])"]

args
Type: SystemObject

[Missing <param name="args"/> documentation for "M:Godot.Object.CallDeferred(System.String,System.Object[])"]

See Also