get a tray||doc135454

September 20, 2022

Format

 Entity:tray()
  • The class to which the function belongs:Entity

Description

Returns the container instance that holds the tray instance (more than one tray).


Value Returned

type Description
EntityTrays Tray container example


Code Samples

on the client side of the objectmount script, get the container instance that holds the tray instance

local tray = this:tray()