Kawhi Leonard scored 30 points, Danny Green's 3-pointer with 22.7 seconds left put Toronto ahead for good and the Raptors improved the NBA's best record to 26-10 by topping the Miami Heat 106-104 on Wednesday night.
Green had 18 points and Fred VanVleet added 16 for the Raptors, who survived a wild fourth quarter that saw 12 lead changes and four ties. Miami had three shots on the game's final possession, with Dwyane Wade and Justise Winslow missing 3s and Wade having a chance at a tip-in that wouldn't fall.
Winslow scored 21 points for Miami, which saw its five-game winning streak snapped. Josh Richardson scored 17 and Hassan Whiteside scored 16 for Miami, which was 6 for 12 from the foul line — while Toronto was 19 for 23.
James Johnson and Tyler Johnson each scored 12 for the Heat, while Wade had 10. Pascal Siakam added 10 for the Raptors.