Pharrell Williams has landed a cameo in the new basketball video game he has scored.

The Happy hitmaker not only curated the much-anticipated Nba 2K15's soundtrack, he appears on the court, wearing his signature 'Smokey Bear' hat.

Announcing the cameo on Instagram.com, he writes, "#YourTimeHasCome to meet me in @2K #Nba2K15. New face scan technology will make it possible for us to meet face-to-face in one scene."

Williams also posted footage of his video game appearance.