A screenshot of an Action Chain with a switch action. There are two cases on the canvas. An arrow starts from the Get Location action in the Action palette and ends at a blue line in between the two existing cases. A grayed-out button called Create Function appears at the bottom of the canvas.