Conditional Branch for when event collides with either a solid wall?

I have been working on a "bullet" type of event where it keeps moving in a specific direction, but when it hits a wall I would like the bullet to be gone. Is there any way I can accomplish this?

Any help is much appreciated!
That will require positional code.

Basically use control variable to get the current position of the event before the move, check where it will be moving to and then decide to make that move (no wall) or erase event (wall).

And the way you determine what is a wall might be coordinates (if the event has a fixed path) or data from "get location info" (if the path is unknown, requires you to mark every wall)

Original thread: https://forums.rpgmakerweb.com/threads/conditional-branch-for-when-event-collides-with-either-a-solid-wall.85851/