GodotObject.ConnectFlags

Values

ValueMeaning
connectDeferred1

Connects a signal in deferred mode. This way, signal emissions are stored in a queue, then set on idle time.

connectPersist2

Persisting connections are saved when the object is serialized to file.

connectOneshot4

One-shot connections disconnect themselves after emission.

connectReferenceCounted8

Connect a signal as reference-counted. This means that a given signal can be connected several times to the same target, and will only be fully disconnected once no references are left.

Meta