OnTrayItemChanged||doc136859

September 20, 2022

Format

local event = Event:GetEvent("OnTrayItemChanged")

Describe

Launch this event after the player's backpack prop changes. The event will be triggered on the client only when the backpack props of the main player change.

Code example

local event = Event:GetEvent("OnTrayItemChanged")
event:Bind(function()
    print("OnTrayItemChanged")
end)