Home 16: Exercise
Content
Cancel

16: Exercise

Create an object where you store the position and the sentence of your emoji (the one with the speechbubble). You can add more properties if needed.

Change your code, so that your emoji function uses the object as parameter. Create at least one other emoji that uses a different object with a different position and a different sentence.

If you like, you can animate your emojis independently.

This post is licensed under CC BY 4.0 by the author.