delete effect||doc135644

September 20, 2022

Format

 Blockman:delEffect(templateName, position) 
  • The class to which the function belongs:Blockman

Description

Remove effects.


Parameters

Variable name type Description
templateName string The pathname of the effect
position Vector3 The location of the effect


Code Samples

Blockman.Instance():delEffect("Media/Effects/baotouxuehua.effect", {x=0,y=10,z=0})