Changing a sprite using Blox

(Chi Black) #1

I’m trying to change a sprite using blox but can’t for the life of me find a way to tell the sprite renderer the sprite I want to use. Here’s the setup;

(Leslie Young) #2

Create a Blox variable. Put the sprite in that varibale via the inspector,. Use the Variable Block to get it and use as a block in the field of the renderer block.

Kinda similar flow to how scripts/components works.

Check out this video (especially near the end) and this one.

(Chi Black) #3

Awesome, thanks. The vids filled in all the blanks.