Timothée Chalamet, the breakout star of the movie “Call Me By Your Name,” has become the latest actor to distance himself from Woody Allen, announcing that he is donating the salary from his role in Mr. Allen’s latest film to charities fighting sexual abuse and harassment.

In a post on his Instagram account, Mr. Chalamet said he was giving his wages from his work on Mr. Allen’s “A Rainy Day in New York” to the Hollywood-backed anti-harassment initiative Time’s Up; the L.G.B.T. Center in New York; and RAINN, an organization that supports victims of sexual violence.

Mr. Chalamet also sought to explain his previous reticence about his decision to appear in a film directed by Mr. Allen, who faces allegations dating back to 1993 that he sexually abused his adopted daughter Dylan Farrow. Mr. Allen has denied the allegations.

Mr. Chalamet said that, owing to “contractual obligations,” he had been unable to answer questions posed by reporters and critics on the subject. “I don’t want to profit from my work on the film,” Mr. Chalamet said. “I want to be worthy of standing shoulder to shoulder with the brave artists who are fighting for all people to be treated with the respect and dignity they deserve.”