If a B-Wing with Advanced Sensors starts its movement phase on a rock, but would not have its movement template overlap any of the rock on that turn (i.e. it would be free to take an action after moving so long as no stress is on it and it doesn't bump anything), can it use Advanced Sensors to take an action prior to moving? Does it depend (for example, I would assume you can't barrel roll if the movement template for the roll goes over the rock)? Sorry if this has been answered elsewhere and I missed it.
Thanks!