Quantcast
Viewing latest article 21
Browse Latest Browse All 41

Deactivate current object in array, activate next one?

Hello, I am trying to create a bit of code that will "turn the pages" of a "book" that is being presented on my canvas (currently saved as an array) Effectively what I want to do is this: 1. Find the page my player is currently reading 2. Set that to be inactive 3. Find the page that comes after the current page 4. Set that to be active 5. Set the new page to be my current page Could someone give me some help in achieving this?

Viewing latest article 21
Browse Latest Browse All 41

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>