A charity that promotes walking, cycling and public transport says the new Active Travel Bill has the potential to be the "most effective public health initiative since the smoking ban."
Sustrans Cymru first suggested the new law in a petition to the Assembly six years ago.
It says that the networks of new routes created by the Bill will play a major role in persuading people out of their cars for shorter journeys but what is also needed are programs that will help people to take advantage of the routes.
The evidence shows that the easiest way for most people to get more exercise is to build it into their daily routine, but even though most everyday journeys are short, many of us still choose to take the car; in fact 20% of our car journeys are less than one mile.
The Active Travel Bill aims to get more people walking and cycling for short local trips as part of tackling the obesity epidemic and reducing congestion.
More top news
Wales has been labelled a blackspot for motor crimes after research revealed 172,000 motoring offences were recorded between 2015 and 2016.
Arriva Trains Wales says twelve trains were damaged by hitting fallen trees and services will be affected this morning.
Paul Clement wants to make sure Swansea's battle for Premier League survival does not see them "suffer" at the end of the season.