Skip to content

Api > Material > DisableKeyword()


Material.DisableKeyword(string keyword)⚓︎

Disables a local shader keyword for this material.

Parameters:⚓︎

Name Type Description
keyword string The name of the local shader keyword to disable.

Usage⚓︎

---@type Material
local material;

---@type string
local keyword;


material.DisableKeyword(keyword)