How can I use 9-slicing on the gui?


#1

I created a texture atlas and set the 9-slicing, but the Image Element doesnt allow me to use it as a texture. The doc mentions Image Elements can use this so there may be a way? thanks


#2

I’ve only seen the image element work with 9 slice using sprite assets. There’s an example here: https://developer.playcanvas.com/en/tutorials/tutorial-shop-user-interface/


#3

Thanks, checking it out