FutureProg functions

setflipped

Itemscomputer function, computer program, standard futureprog

setflipped overload 1

Boolean setflipped(Item item, Boolean flipped)
Available in
  • computer function
  • computer program
  • standard futureprog
If an item is a flippable (e.g. a table), this command sets the flipped state according to an argument you pass in. Returns true if the item was changed, false if it was already in the desired state or wasn't a flippable.
ParameterTypeDescription
item Item The item that you want to flip or unflip
flipped Boolean A boolean representing whether this item is flipped or not