I'm aware that when adding points to an action, you write: this.scene().addScorePoint( amount ); etc. However I'm looking to be able to call those points AFTER they've been added. So, if "addScorePoint( 1);" adds 1 point per action, I'm looking to call "ScorePoint" or "1" so that I can do something with that variable instead of "addScorePoint." That way I'm no longer adding the point, but rather calling the already existing points that have been added. Does that make sense? So if I scored 10 points during a game, I'd like to be able to get that variable, 10 points, and do something with it. In other words I'm looking to be able to call "total points." How do I do this?! Any help would be extremely appreciated!!
Thank you so much !!! btw.. just curious... how you managed to find this? were you using some DOcumentation or something? I couldn't find anything...
The API documentation will hopefully get updated soon. But if you check this link out it has some great reading that will point in right direction. https://www.buildbox.com/forum/index.php?threads/buildbox-3-api-documentation.17947/