In which case you should try before attempting anything faintly complex. This is an other example of trying to fly before you can crawl.
Do some examples, work through the ones in the IDE. Change them and see how they affect how they work. Then decide how you want them changing and learn how to do that.