YahahaObjects¶
YahahaObjects represent everything that you are able to manipulate in the Scene Editor and you can find them in Objects Explorer.
Every YahahaObject has Transform, Collision, and Trigger Box components and it's impossible to remove them.
Creating a YahahaObject¶
To create a new YahahaObject in Studio, simply click on the
-
Method 1: Create an empty YahahaObject and store its ID in the 'emptyObject' variable.
local emptyObject = createEmpty()
-
Method 2: Duplicate the YahahaObject and store the ID of the new YahahaObject in the 'object' variable.
local object = duplicate(number YahahaObject)
-
Method 3: Create a new YahahaObject using the asset ID and store the YahahaObject ID in the 'asset' variable.
local asset = createAsset(number AssetID)