From ComputerCraft Wiki
Revision as of 20:56, 21 April 2015 by MisterSanderson (Talk | contribs) (Adding "see also" for the oldly created articles and making the description clearer.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Grid Redstone.png  Function turtle.drop
Drops all items off the selected slot, or, if count is specified, drops that many items. The items are dropped on the ground by default, but if there is an inventory in that block, the items go to that inventory instead. Then the items will be placed in the first available slot of the inventory, starting at the top left, moving right and then down.
Syntax turtle.drop([number count])
Returns boolean true if an item was dropped; false otherwise.
Part of ComputerCraft
API turtle


Grid paper.png  Example
Drops all items in the first available slot.

See also