Skip to content

Commit

Permalink
Add "touching edge" support
Browse files Browse the repository at this point in the history
  • Loading branch information
adroitwhiz committed Jul 17, 2022
1 parent 67e159c commit a67cda0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/io/leopard/toLeopard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a67cda0

Please sign in to comment.