Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input.onButtonPressed(Button.B,function(){
- if(MyAge < 100)
- {
- MyAge++
- }
- basic.showNumber(MyAge)
- })
- input.onButtonPressed(Button.A, function () {
- if (MyAge > 0) {
- MyAge--
- }
- basic.showNumber(MyAge)
- })
- input.onGesture(Gesture.Shake,function(){
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement