Drawing.endframe
Publishes a batch of Drawing updates.
Syntax
Signature
Drawing.endframe(Token: userdata) -> ()Aliases
This function has no aliases.
Parameters
| Parameter | Type | Description |
|---|---|---|
Token | userdata | Token returned by Drawing.beginframe. |
Returns
| Type | Description |
|---|---|
() | 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)