Everything was going right.

Kyle Lowry was scoring. Deron Williams wasn’t.

DeMar DeRozan was getting to the line. Joe Johnson was putting him there — or at last accumulating fouls of his own accord.

Even the concern areas — early foul trouble for Jonas Valanciunas — turned into positives as Patrick Patterson came in and promptly became king of the boards, pulling down six rebounds in short order.

Best of all from a Toronto perspective, Lowry was being Lowry and filling the basket at will.

But when Terrence Ross hit that three, his first of the series and just his fourth shot that found the bottom of the basket in 18 attempts with 47 seconds to go in the second quarter, even the biggest pessimist had to be thinking this really was the Raptors’ night.

Oh, it turned out that way in the end, just not with the cushion anyone expected.

The Raptors would need Lowry again down the stretch to ensure a 115-113 win and a 3-2 lead in the best-of-seven series.

As much as it looked like it at about the midway point of the third quarter, things were far from over as Joe Johnson almost single-handedly carried the Nets back from a 26-point deficit to even terms with 3:16 remaining in the game and set the stage for a wild finish.

Lowry wound up with a game-high 36 points while Johnson made things very interesting with his Nets-high 30 points.

Afterward, watching Dwane Casey break the game down, it was difficult to tell if he was on the winning or losing side.

It was a mixture of disappointment and even a little anger from Casey after the game. He kept referencing the 44 points his team gave up in the fourth quarter, the same number of points his defence allowed — total — in the first half.

“That’s why it’s hard to win in this league without veteran players,” Casey said. “They used their veteran experience to get back into the game ... We’ve got to learn and tonight was a learning experience in a playoff atmosphere and that’s a hard place to learn.”

In the locker room, there was more relief than anger, but still plenty of disappointment to go around.

“You know what, we have been in so many of these things, both ways,” veteran big man Chuck Hayes said. “If we’re down 20, we’ll come back, and if we’re up 20, they’ll find a way to come back. I can’t remember the last comfortable win we had.”

That, in a nutshell, has been the Raps this season. No deficit is too large to overcome. No lead is too safe.