This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.
制作一个类似下面这张截图的事件:
offset (0, 1)是判断角色是否站在开关的上面。如果条件成立,就把门打开(消除),开关按下(也是消除)。
也可以通过给红色施加行为来实现,