size

L5 / Lua API / l5 / done
size(width, height?)

Set sketch resolution by forwarding to AC `resolution()`.

Parameters

Name Type Required Description
width number yes Target width.
height number no Target height (defaults to width).

Returns

void

Examples

No explicit examples yet.

Open prompt to experiment live.

Runtime Notes

No additional runtime notes yet.

Details

No additional details yet.

Live Preview

Embedded AC preview