Sonolus Wiki

Runtime Canvas

Runtime Canvas block is used to pass instruction information back to Sonolus.

Identifier

const RuntimeCanvasId = 1001

Values

IndexInitial ValueDescription
00Scroll: 0 = Left to right, 1 = Top to bottom, 2 = Right to left, 3 = Bottom to top
10Size

Access

CallbackReadWrite
preprocess
render

Remarks

Scroll controls the scrolling direction and starting position, while size controls the size in the scrolling direction.