Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Component:Consumable

This component allows the item to be consumed by users.


Consumable allows an item to be consumed by bringing it to the avatar's mouth. It was introduced in build 2026.4.1.11

Component image 
Consumable component as seen in the Scene Inspector

Consumable Allows the item to be consumed by users.

Fields

Editor's note: THESE ARE WRONG, WILL UPDATE LATER
Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Target IField`1<Float> A field to set with the knob's value.
Callback delegate of identity Action`1<Float> A delegate that is called with the knob's value change.
RotationAxis Float3 The axis around which to measure the slot's local rotation.
Rate Float The proportional effect of the knob, in values per full (360-degree) rotation.
Min Float The minimum value for the knob.
Max Float The maximum value for the knob.
_lastRotation Float (internal, read-only) Used in determining the rotational change.
_lastAxis Float3 (internal, read-only) Used if the RotationAxis changes.
_lastUser User (internal, read-only) The user who last rotated the slot.

Usage

Examples

ProtoFlux:OnConsumableConsuming

ProtoFlux:OnConsumableFullyConsumed

ProtoFlux:OnConsumableStageConsumed