Former Trail Blazers star Brandon Roy has done a lot in the basketball world.

He was a first team All-American and the Pac-10 player of the year at Washington. He was named the NBA’s Rookie of the Year in 2007 and then made three consecutive all-star games. But he’s yet to do one thing: lose a game as a high school basketball coach.

Midway through his second season as a coach, Roy is 45-0.

Last year, Roy coached upstart Nathan Hale of Seattle. Led by the consensus No. 1 player in the country, Michael Porter Jr., the Raiders finished as the best team in the state — and the entire country. Roy won the Naismith National High School Coach of the Year award.

Things were great. But then, a twist.

Ed Haskins, the head coach of Seattle basketball superpower Garfield High, left his post to accept an assistant coaching job at Washington State. Garfield, Roy’s alma mater, needed a new head coach. Roy was the obvious man for the job.

“It was really tough leaving Nathan Hale because my plan was to be there for a while. I had no idea that Ed Haskins would take the Wazzu job. It wasn’t something he talked about. And I wanted to build a tradition there (at Nathan Hale),” Roy said. “But when the (Garfield) job was open, it was just too hard for me to say no. My entire family went to Garfield and I live five minutes from there. Everything just seemed to fall in place.”

With a team largely comprised of transfers, Roy led Nathan Hale from a three-win season in 2015-16 to 29 wins during his lone season at the helm. The final victory came in the state championship game against Garfield.

Now, it is Garfield that is the top team in Washington’s Class 3A. Last Tuesday, the Bulldogs beat Nathan Hale 89-51.

But before then, Roy was back in Portland on Monday, coaching his squad against the No. 1 team in Oregon: Jefferson.

The Bulldogs had just come off what Roy called an “emotional win” over talented rival Rainier Beach. They then had to play against an equally dangerous Jefferson team -- in Portland, no less.

Roy acknowledged it might not have been the smartest scheduling he has ever done; he was incredulous when he realized his team would have to play two such difficult games in a matter of four days.

“I’ll be honest, when I made the schedule, I didn’t plan it to be this way,” Roy said. “So that was somewhat of a fumble on me.”

No matter. His Bulldogs escaped with a 63-57 win to keep his perfect record intact.

Roy, who was forced to retire from the NBA at age 28 after prolonged knee problems, said he’s becoming a more knowledgeable coach.

As a rookie headman, he had the benefit of Michael Porter Jr. and his brother, Jontay, both of whom now play for the Missouri Tigers. He gave the two gifted players plenty of freedom on the court. In his second season, he learned that isn’t always the best idea.

“This year, I came in kind of giving these guys a lot of freedom,” Roy said, but he realized he needed to change his ways. “Like, ‘Oh, wait a minute, I gotta reel them in.’ So, that’s just me learning as a coach.”

Still, a main focus of Roy’s is to give his players the tools to succeed in games and to make the right decisions. A raucous crowd was on hand for the game against Jefferson — the marquee matchup of the MLK Invitational at Lewis & Clark College. Roy said his players couldn’t hear him as he tried to yell across the gym. But, that’s alright by Roy. He hopes his players will be able to succeed in those moments.

“I let them try to make decisions in practice because in the game, I’m not gonna be able to control it,” Roy said.

Several of Roy’s players from last season’s Nathan Hale team, notably four-star recruit P.J. Fuller, transferred to Garfield to play for him once again.

Sophomore Marjon Beauchamp is one of those transfers. He said of Roy: “He’s a very good coach. We’ve learned a lot from him in practice and he’s just trying to get us better so we can get to the next level.”

Beauchamp, who has offers from the likes of Washington and Florida State, has high aspirations. And a coach with NBA credentials certainly carries weight with ambitious young basketball stars. But Beauchamp’s favorite part about Roy is something else.

“He loves us,” Beauchamp said.

At 33, Roy has an impressive playing and coaching résumé already. However, he’s not sure whether he wants to advance his coaching arc beyond the prep level to, perhaps, the league in which he excelled for four years.

“I like doing (high school). I like being home. The NBA’s a grind, man. That’s a real job,” Roy said.

“I really enjoy doing (high school). This is my second year and it’s different than my first, so I’m still learning. I don’t know how long I’ll do it for, but I really enjoy doing it. I get to coach with my friends, guys I grew up with, guys I played with. So, I’m really enjoying myself. As long as I’m enjoying myself, then I’m gonna do it.”

If he enjoys winning, he might be coaching high school for a long time.