Hello Wanja,
You should start by working through this thread, and then come back to us:
It is not quite the same as what you want to do, but will be a good starting point to show how stimuli can be controlled dynamically rather than with fixed positions.