There is a code sample showing this feature in the manual.

http://www.conitec.net/beta/apar-beam.htm

This example can also be found in gamestudio's sample folder in the installation directory.


Always learn from history, to be sure you make the same mistakes again...