Second-half goals from Martin Hardie and Scott Taggart gave the Ton all three points as they put a poor first half behind them to inflict a first home league defeat of the season on Jackie McNamara's league leaders.
Moore said: "I think the way we won it was important as well.
"We didn't have to do too much shouting at the boys at half-time, they knew we couldn't play any worse than that.
"We were lucky and the boys knew that. They said 'gaffer, we are lucky to come in here 1-0 down' and I said 'I know we are, so go back out there and pass it'.
"That is the most pleasing thing. In the second 45 minutes, we got on the ball and we had some great moves with David O'Brien, Hardie and Michael Tidser.
"I felt we passed the ball brilliantly in the second half.
"We have drawn three away games we should have won.
"We were 2-0 up at Dunfermline, 2-1 up at Livingston and we were so far ahead of Raith it was frightening, but we ended up drawing 3-3.
"It was big psychologically not to lose a goal in the last few minutes. It is a big three points."