# ef_spark ## 火花特效的嵌入常量 ### 语法: ~~~ ef_spark; ~~~ **返回:** N/A. ### 描述 这个 **常量** 是用在函数[effect_create_above](effect_create_above.md) 和 [effect_create_below](effect_create_below.md)中, 并且会创造如下图的火花特效: ![](https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/drawing/particles/simple%20effects/images/ef_spark.png) ### 举栗子: ~~~ if power    {    effect_create_above(ef_spark, bbox_left + random(sprite_width), bbox_top + random(sprite_height), choose(0, 1), merge_colour(c_white, c_yellow, random(1));    } ~~~ 上述代码会在变量"power"是"true"时,在实例的范围内创造一个火花特效。