Yes! If an object has a mass of $$5 \, \mathrm{kg}$$, it doesn't matter what direction you look at. It will always be $$5 \, \mathrm{kg}$$. So, mass doesn’t have a direction.