Help with island game

I want to make it so you can place down wood but it is not working!

1 Like

if facing left = true then on a button press, set sprite wood to sprite set wood position to Y = knight Y X = knight X - 30 (or whatever u pick. heres an example https://arcade.makecode.com/S89953-86345-05501-26129

https://makecode.com/_EAi1kyXkm0hM

It works when it is in on start block. Nothing happens when I put the code into the if block in the inventory.

try doing on a button press if inventory = 1 (or whatever means it’s open) then close inv and then the code from before.