In Phase 2 regulations are still in place:
requiring people to stay at home, except for limited purposes
https://www.gov.scot/publications/coronavirus-covid-19-phase-2-staying-safe-and-protecting-others/
(That's dated yesterday)
The exceptions are
You can leave the house for certain purposes, for example:
shopping for supplies for your household or a vulnerable person
exercise and other outdoor activity alone or with members of up to two other households at a time. For rules on forming an extended household, see Meeting others
to use outdoor spaces for other recreational purposes - for example to sit or relax alone or with members of up to two other households at a time
to ensure basic animal welfare needs are met, including taking dogs out
for any medical need, including to donate blood, to avoid or escape risk of injury or harm, or to provide care or to help someone who may be at risk
travelling for work purposes, but only where you cannot work from home
to access recycling or waste disposal services - for example, local authority household waste recycling centres
to attend a place of worship for one of the permitted uses (to attend a funeral service, to broadcast an act of worship, to carry out voluntary services or for individual prayer or contemplation, alone or with members of your household)
to carry out voluntary services where you cannot do so from home
to move home, including to undertake activities in connection with the purchase, sale, letting or rental of a residential property,
to visit a second home.