Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

TouchButtonRowOptions

Where the row of buttons stands and how it looks.

Property Type Default value Description
className? string undefined Restyles the row, such as its gap, or each button with *:, such as *:size-20.
hidden? boolean false Draws no button, and leaves the sticks.
layout? TouchButtonLayout TouchButtonLayout.Row How the buttons stand: a row from the corner, or an arc round the primary.
primary? InputHandle<boolean> | TouchCommandHandle | TouchPageActionHandle the first declared The button that stands in the corner, the one a thumb rests on; the rest follow in their declared order.
slot? Slot Slot.BottomRight, or Slot.Right where the game declares a second stick, placed or not The slot it stands in.