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

inputContext

inputContext(inputContextOptions): InputContextDeclaration

Declares a named list of inputs with a priority, which a control names: while she controls an entity under it, the context is live on her page, and a key two live contexts’ inputs share fills the higher one’s alone, so Space fills a kart’s handbrake and not her seated character’s jump. Every input still fills from its own keys where no live context of higher priority shares them. A key a context’s priority took stays off the lower input until it is let go. As Unreal’s input mapping contexts and Roblox’s InputContext priorities.

Parameter Type
inputContextOptions InputContextOptions

InputContextDeclaration