Get hold item color||doc135486

September 20, 2022


  • The class to which the function belongs:Entity


Gets the RGBA enhanced color coefficients for the held item model.

Value Returned

type Description
table Color coefficients, color values formed by the table {r, g, b, a}

Code Samples

On the player entity clientmount script, obtain the RGBA color coefficient of the held item model

local holdModelARGB = this:getHoldModelARGBStrength()