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

SettingsState

  • PlayerSettings
Property Type Description
aimAssist boolean Whether the aim assist helps a finger aim, in a game that offers it.
autoFire boolean Whether a weapon fires on its own on a touch screen while its shot line rests on a target, in a game that offers it.
autoGainControl boolean Whether the browser keeps the player’s voice at an even level.
cameraShake number How much a game’s big moments shake the camera, 0 to 100: 100 is the game’s own, 0 none. Reduced motion turns it off.
changeSetting <Key>(key, value) => void Sets one setting; a number outside its row’s range is clamped.
depthOfField boolean | null Whether a look’s depth of field blurs what stands off the focus; null follows the quality level’s depthOfField.
effectsVolume number Every other sound, 0 to 100, under the master.
fieldOfView number | null The degrees the camera sees across a 16:9 screen, 60 to 120, within the range the game’s camera allows; null keeps the game’s own.
frameRateCap number | null The most frames a second the game draws, which the engine applies as the nearest whole divisor of the screen’s refresh rate, so frames stay evenly paced; null draws every frame the screen offers.
fullscreenOnPlay boolean Whether the click on Play also goes fullscreen.
grassSway boolean | null Whether the grass and the plants sway in the wind; null follows the quality level, which sways them at Medium and High unless motion is reduced.
interfaceVolume number Menu and HUD sounds, such as a button’s click or a card turning, 0 to 100, under the master.
invertLook boolean Whether moving the mouse up looks down.
keepReplay boolean Whether a development build keeps a replay of the play for an agent to find a moment in. A production build keeps none, whatever this says.
masterVolume number Every sound, 0 to 100: the slider’s position, which the engine hears in decibels, so 0 is silent and every 20 points is 10 dB.
microphoneVolume number The player’s microphone’s level before it is sent, 0 to 100, on the volumes’ decibel curve.
mouseSensitivity number A multiplier on the camera’s look speed, 0.001 to 100: 1 is the game’s own.
musicVolume number Music and ambience, 0 to 100, under the master.
noiseSuppression boolean Whether the browser takes steady noise out of the player’s microphone.
performanceStats PerformanceStatsMode How much of the frame rate, frame time, ping and room step shows.
pushToTalkKey string | null The player’s talk key, as KeyboardEvent.code; null keeps the game’s, the engine’s pushToTalk action, V unless the game moves it.
reducedMotion boolean | null Whether the interface moves less; null follows the device’s own setting.
resetSettings (keys?) => void Puts keys back to their defaults, or every setting when none are named: one Settings tab’s reset, or all of them.
setDefaultVoiceMode (mode) => void Makes mode the game’s voice mode, which a reset returns to, and sets it where this device has saved none: Game’s defaultVoiceMode calls it. undefined puts back the engine’s.
setDefaultVolumes (volumes) => void Makes volumes the game’s defaults, which a reset returns to, and sets each one this device has not saved: Game’s defaultVolumes calls it.
shiftLock boolean Whether Shift turns the camera’s lock on and off, in a game whose camera lets it.
showPlayerNames boolean Whether other players’ names show over their heads, in a game that draws them.
showTextChat boolean Whether the text chat window shows. Off hides it and its button, and a game’s own messages still show as brief notes.
textChatLevel TextFilterLevel The filter level the player chose for text chat. The room holds it to the loosest the player’s age group allows, so it reads Strict for a player who may choose no other.
voiceMode VoiceMode What the player’s talk key does: held to talk, or pressed to turn the player’s microphone on and off.
voiceSensitivity number With open mic, the level the player’s microphone sends from, in dBFS, -80 to -10. No row shows it: the engine ships one tuned threshold.
voiceVolume number The other players’ voices, 0 to 200: 100 plays them as they send, and past 100 up to 6 dB louder, as Roblox’s voice slider runs to twice.