CreatePersistentObject(roomId , persistentObjectStruct)
Description
Syntax
CreatePersistentObject(roomId,persistentObjectStruct);Argument
Description
Returns
N/AExample Implementation
var ball = {
type: "ball",
_x : 200,
_y : 200
}
CreatePersistentObject("public",ball)How to know if the Object was made or not?
Last updated