Tip: select the entity performing the raycast with
Specify the optional commands to run before the selected entity begins the raycast. You can use this to, for example, play a sound to indicate that the raycast has started (such as a sound of a laser being fired).
Specify the optional commands to run after the raycast fully ends for the entity, regardless of whether or not the raycast succeeded. The position will be at the original entity that started the raycast.