"When we see you guys out on the frontline, we want to let you know you got support," he said before adding: "To all of my friends who aren't black, just try to put yourself in our position."
Foxx's statement is one of several made by Hollywood stars over the past few days.
US superstar The Rock posted a heartfelt tribute to Floyd, calling for justice amid the "ongoing disease" of racism and police brutality in the US.
The Jumanji actor posted a note on Instagram for his 184 million followers saying he was "stunned trying to make sense of George's Floyd's death."
Oprah Winfrey shared on Friday that while Americans speak "George Floyd's name" it was her intention that it wouldn't become "just a hashtag".
"I haven't been able to get the image of the knee on his neck out of my head," she said in a statement online.
"George Floyd: We speak your name. But this time we will not let your name be just a hashtag. Your spirit is lifted by the cries of all of us who call for justice in your name."
Oprah has expressed her grief over the death of George Floyd. Photo / Getty Images
Beyonce also posted a message to Instagram, sharing that she is "broken and disgusted" by what happened to Floyd, footage of which has circulated around the world.
Basketball star LeBron James has also posted a tribute to Floyd, of himself wearing a black T-shirt with the words "I can't breathe" on it – what Floyd repeatedly told the US officer who was kneeling on his neck.
And he posted a picture of Colin Kaepernick alongside the US cop kneeling on Floyd, encouraging his followers to "stay woke" over racism and police brutality.