The collider no longer acts as a barrier.
Let’s create a simple script to toggle the IsTrigger variable off and on with a key press. Before assuming that a
particular functionality will work, you should always test first.
23. Select the My Scripts folder.
24. Create a new JavaScript.
25. Name it ToggleIsTrigger.
26. Open it in the script editor.