applySwatchesToSelection
@zylem/game-lib / bridge / applySwatchesToSelection
Function: applySwatchesToSelection()
applySwatchesToSelection(
channel,swatches,options?):boolean
Defined in: packages/bridge/src/swatches.ts:19
Apply swatches to the game's current selection, as last published on
entity:selection.
Parameters
channel
swatches
options?
opId?
string
Returns
boolean
false when nothing is selected (no message is sent).