captainHook Posted December 4, 2018 Share Posted December 4, 2018 Hi guys, As mentionned on title, only setCollision work with the code beyond. Looking at the doc, I think el.setAlpha and setVisible() should work, am I missing something? const erase = MyStaticTilemapLayer.filterTiles(tile => tile.properties.erase) erase.forEach(function(el) { el.setVisible(false) el.setAlpha(0.2) el.setCollision(false) }) } Link to comment Share on other sites More sharing options...
Recommended Posts