you need to use a black function block. Then type the name of the function you are calling. These are found under the misc heading in the Blockly menu. To see examples of how to use it, check out the player interact badges or the skills and drills < game events badges.