Inspector Lee Gordon from West Midlands Police said the number of railway related incidents has decreased since the force held safety awareness events.
He said: "Historically in summer holiday season we see an increase in railway incidents which is why we're very much doing this to coincide with the summer holidays, but having said that it is proving to have an effect and figures are coming down."
Police showed school children the dangers of playing on the railways using a series of mock scenarios involving actors.
More top news
A man from Northampton has found internet fame after a video of him failing to climb a wall on a Tough Mudder challenge went viral
Some showers at first this evening, gradually clearing overnight. Tomorrow, a mostly dry day but with a few showers.
A good deal of cloud this evening and overnight, with showery outbreaks. Tomorrow, generally cloudy, with some sunny intervals.