# ef_firework ## 烟花特效的嵌入常量. ### 语法: ~~~ ef_firework; ~~~ **返回:** 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_firework.png) ### 举栗子: ~~~ repeat(10)    {    effect_create_above(ef_firework, random(room_width), random(room_height), choose(0, 1, 2), make_colour_hsv(random(255), 255, 255));    } ~~~ 上述代码会在场景的随机位置中创造10个随机颜色和大小的烟花特效。