Yes - that was part of the manifesto we voted on.
The SNP are the main party here.
They are more important to the people of Scotland than are the politics surrounding the internal factions within the Tory party that are the cause of the current calamity. Perhaps the extent of allegiance to the UK isn't quite as strong here as you think it is given the UK is not acting in the interests of the 68% here who voted against Brexshit.
Wot Gordon said.
You seem to be under the misapprehension that the united kingdom iis a country or a nation, Hope - it is niether, but the union of nations into a political union of convenience (though whose convenience is a matter of dispute,)
Scotland expressed a democratic will to remain in the Eu.
The democratically elected government of Scotland will seek to put that wish into action.
(The government of the union which Scotland manifestly did NOT elect is not only unpopular here, burt seen as an increasingly irrelevent wast of taxpayers money)