If you’re confused about what happened Sunday night in the final 10 seconds of the Timberwolves’ 95-94 loss to Miami at Target Center, fear not, you’re not alone. So were the Wolves.

A night filled with sloppiness concluded in fitting fashion as Minnesota looked lost while time ticked off a disappointing loss to the Jimmy Butler-less Heat.

Minnesota committed 20 turnovers and shot poorly on a night where the decision making was questionable across the board. And yet the Timberwolves were in a position to escape with victory with just nine seconds remaining after a Jaden McDaniels offensive putback staked the Wolves a 94-92 advantage.

But chaos ensued on the following in-bounds play.

Minnesota, as players described it, intended to switch everything -- once the ball is inbounded. With that in mind, Wolves coach Chris Finch made a last-second substitution when he saw Heat forward Kevin Love run onto the floor. At that point, Finch decided to take reigning Defensive Player of the Year Rudy Gobert off the floor in exchange for Mike Conley to help Minnesota better switch everything and take away the 3-point shot.

And Miami didn’t get a 3-pointer. It did, however, get a 3-point play.

Nikola Jovic got a backscreen and darted toward the bucket. He caught the ball on the run and finished at the rim while being fouled by Nickeil Alexander-Walker. Jovic hit the go-ahead free throw, and Mami emerged with a 95-94 victory.

So what happened on that defensive possession? And what happened on Minnesota’s offensive play that followed?

Defensively, Alexander-Walker and Conley both said Minnesota generally doesn’t switch pre-inbounds in those situations. But Alexander-Walker was guarding Terry Rozier, and Rozier set the back screen for Jovic.

Alexander-Walker in that moment is hanging back, but not expecting to switch onto Jovic.

But Anthony Edwards -- who was guarding Jovic -- got hung up on the screen, and then simply clung to Rozier, leaving a hesitating Alexander-Walker to unexpectedly take on Jovic.

“I know our talk was not to switch off the ball before the ball was inbounded, so when I saw him set the back screen, I was a little hesitant to just go,” Alexander-Walker said. “I think at that point, with the clock situation and everything, all bets are off, I guess, and you just have to take it. When I read it late, at that point I probably should’ve just wrapped (Jovic) up. But I tried to make a play for it.”

Still, Minnesota had eight seconds to respond. But Miami committed a take foul with 3.7 seconds to play. And on the ensuing in-bounds, Minnesota looked befuddled.

“The (ref) like literally threw the ball to Ant from what we were, not trying to draw up a play, but go to our next action. Ant was trying to get out of it,” Conley said. “The (play) had a passing situation to bring somebody else in, and I just threw him the ball. So we were stuck at that point. And whatever position we were in, whatever shot we got, we got. It was just a mad scramble at the end, which is on us at the end of the day. We have to be more aware and not get lost in the moment.”

In the madness, Conley ended up with a decent look from deep, but it didn’t fall, and Miami escaped.

“That’s on me,” Finch said. “End of the game, I’ve got to be clearer about what we’re trying to do on both sides of the ball and get us some help there.”

It all came on a night where the Wolves were sloppy in all facets of the game. The Wolves committed three turnovers in the final four minutes to allow Miami to stick around and, eventually, steal the game.

Miami played a zone that consistently flummoxed Minnesota. The Wolves shot sub-40 percent from the field and 29 percent from 3-point range. The Heat were sans Butler, who sprained his ankle on Friday. They’ve struggled mightily thus far this season. But they outplayed Minnesota on Sunday.

Edwards had 22 points to pace the Wolves (6-4).

“It was a grimy game. We kept kind of finding ways to give ourselves some advantage, a little breathing room. But we never could really soar ahead. Too many turnovers. Some ill-advised shots,” Finch said. “So it’s a tough one.”