On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

LUA extension to return the piece (if any) at a coordinate

A topic by MoovingBox created Dec 23, 2019 Views: 120
Viewing posts 1 to 1

If you could determine the piece at a given coordinate you could manipulate it post-creation

I'm not sure how this would work if more than one piece existed at a coordinate - maybe also have a function to determine the number of pieces at a given coordinate so you could loop through them?