Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

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: 140
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?