Skip to main content

Material.GetInt(string name)

Get a named integer value.

Parameters:

NameTypeDescription
namestringThe name of the property.

Returns:

typeDescription
numberThe named integer value.

Usage

---@type Material
local material;

---@type string
local name;


local val0 = material.GetInt(name)