Drawing.endframe

Publishes a batch of Drawing updates.

Syntax

Signature
Drawing.endframe(Token: userdata) -> ()

Aliases

This function has no aliases.

Parameters

ParameterTypeDescription
TokenuserdataToken returned by Drawing.beginframe.

Returns

TypeDescription
()None.

Notes

Token must come from beginframe on the same coroutine. Passing an already closed token from that coroutine has no effect.

Example

Luau
local Token = Drawing.beginframe()
Drawing.endframe(Token)