- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Description
Type: Boolean
Returns whether or not an avatar is connected to the runtime.
Examples
// check connection to avatar
if (avatar.connected)
debug.log("Avatar connected.");
else
debug.log("Avatar disconnected.");
Remarks
Use this property when your scripts need to check whether or not an avatar is currently connected to the runtime's avatar object.