[ 图像 ] 反弹: [ Boolean ]

☞ media ≔ Media 新建.
☞ a ≔ 图像 新: “a.png”.
media 在: “运行” 做: {
a
x: 20 y: 500,
速度: 10,
移动到x: 800 y: 0,
反弹: 真.
}.

media 屏幕: “canvas.png”.

en: Toggles whether the image will bounce upon collision.