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
The East Coast rail line becomes privately run from today after more than five years in the public sector.
Very windy this evening with gales in some places. Rain moving east
Windy with heavy rain this evening, then gales and showers later on