@casual-simulation/stacktrace
Advanced tools
Changelog
V3.1.11
portalZoomableMin
and portalZoomableMax
tags.analytics.recordEvent(name, metadata?)
function.@onKeyRepeat
shout that is fired when a key is held down and "auto repeated".focus()
click()
blur()
select()
setRangeText()
setSelectionRange()
showPicker()
stepDown()
stepUp()
reset()
submit()
fastSeek()
load()
pause()
play()
requestPictureInPicture()
document.getElementById()
function for custom apps.Vector2
, Vector3
, Rotation
, and DateTime
values would cause the shared space to emit an error if they were stored in a tag on a new bot while it was being processed by the space.@onKeyDown
to only be emitted once when a key is starting to be held down and not continually while a key is held down.Changelog
V3.0.14
circle
bot form ignore lighting changes based on its orientation.formAddressAspectRatio
tag to allow adjusting how formAddress
images/videos are displayed on cube
, circle
, and sprite
bot forms.
os.joinRoom(roomName, options?)
os.leaveRoom(roomName, options?)
os.getRoomOptions(roomName)
os.setRoomOptions(roomName, options)
os.getRoomTrackOptions(roomName, trackAddress)
os.setRoomTrackOptions(roomName, trackAddress, options)
os.getRoomRemoteOptions(roomName, remoteId)
@onRoomJoined
- Sent whenever a room has been joined via os.joinRoom()
@onRoomLeave
- Sent whenever a room has been exited via os.leaveRoom()
@onRoomStreaming
- Sent whenever the local user has been connected or reconnected to a room.@onRoomStreamLost
- Sent whenever the local user has been disconnected from a room.@onRoomTrackSubscribed
- Sent whenever an audio/video track has been discovered inside a room.@onRoomTrackUnsubscribed
- Sent whenever an audio/video track has been removed from a room.@onRoomRemoteJoined
- Sent whenever a remote user has joined a room.@onRoomRemoteLeave
- Sent whenever a remote user has left a room.@onRoomSpeakersChanged
- Sent whenever the list of speaking users has changed in a room.@onRoomOptionsChanged
- Sent whenever the local room options have been changed.rooms-example
appBundle for an example.os.listInstUpdates()
and os.getInstStateFromUpdates(updates)
functions.
os.listInstUpdates()
gets the list of updates that have occurred in the current instance.os.getInstStateFromUpdates()
gets the bot state that is produced by the given list of updates.@onAnyAction
calls for bot updates.os.tip()
with long words could cause the words to overflow the tooltip background.