From a67cda08b7571a34a2ab6387600b37e06f7d5750 Mon Sep 17 00:00:00 2001 From: adroitwhiz Date: Sun, 17 Jul 2022 15:13:57 -0400 Subject: [PATCH] Add "touching edge" support --- src/io/leopard/toLeopard.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/io/leopard/toLeopard.ts b/src/io/leopard/toLeopard.ts index 47dd93c0..9ab3969a 100644 --- a/src/io/leopard/toLeopard.ts +++ b/src/io/leopard/toLeopard.ts @@ -520,6 +520,8 @@ export default function toLeopard( switch (block.inputs.TOUCHINGOBJECTMENU.value) { case "_mouse_": return `this.touching("mouse")`; + case "_edge_": + return `this.touching("edge")`; default: return `this.touching(this.sprites[${JSON.stringify( targetNameMap[block.inputs.TOUCHINGOBJECTMENU.value]