CrossBeltSorter: GetProductOnBelt

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

🔁 Function

integer GetProductOnBelt(beltIndex: integer);

⚙️ Parameters

Name Type Description
beltIndex Integer The index number of the belt 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