Fusion.InHandMat
Source Code | Usage Examples | Fusion
Functions
Creates a FusionMaterialFilter that checks if the material is in the hand, along with other provided filters.
Signature
Fusion.InHandMat(FusionMaterialFilter fun
, FusionMaterialFilter ...
) → FusionMaterialFilter
lua
Fusion.InHandMat(fun,...)
Parameters
FusionMaterialFilter
fun
A function that must return true for the material.
FusionMaterialFilter
...
More functions that must return true for the material.
Returns
FusionMaterialFilter
A function that returns true if the material being checked is in the hand, and all provided filters return true.