Robert Kanoff reportedly said the people who dropped him off in the nude thought it would be funny.
Shoppers at an Arizona Walmart got more than they bargained for earlier this month when a nude man was allegedly spotted walking around the store.
Tempe police received a call on July 4 about a man inside the discount store, who they say was wearing glittery gold makeup, a pair of shoes and nothing else.
Watch: Maintenance Worker Finds 29-Year-Old Woman Dead in Walmart Bathroom: Cops
The man fitting the description, Robert Kanoff, was later found across the street, according to police.
The 49-year-old told cops he had walked into Walmart after being dropped off by two people who thought it would be funny to leave him at the store while naked, KTVK reports
Watch: 3-Year-Old Boy Names All the Vegetables in the Walmart Produce Aisle
Kanoff allegedly also admitted to having used drugs the previous day.
Kanoff was charged with indecent exposure, public sexual indecency and possession of dangerous drugs.
Watch: Cops Overwhelmed by Walmart Fights: 'There Are Days I Run Out of Handcuffs'