Get hold item color||doc135486

September 20, 2022

Format

 Entity:getHoldModelARGBStrength() 
  • The class to which the function belongs:Entity

Description

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()