TiltTraySorter: GetProductOnTray

Called to return the product objectId from a specific tray of the sorter if it exists

🔁 Function

integer GetProductOnTray(trayIndex: integer);

⚙️ Parameters

Name Type Description
trayIndex Integer The index number of the tray to return any product from. See note at the bottom of the page.

↩️ Return Value

Object id. The return value may be zero if no product is found