How to get the sprite of a gameobject in code?

It’s the correct way to do it, and is in the factory manual:

Can you give more details of your case? Error messages and code samples should make it clear what’s going wrong.

2 Likes