The actress will have a multiple-episode arc on the third season of the Billy Eichner-Julie Klausner comedy.

Lucy Liu is exchanging Sherlock Holmes for Billy Eichner.

The star of CBS' Elementary — currently awaiting word on its sixth season — has booked a role on Hulu comedy Difficult People.

Liu will take on the role of Veronica, a morally corrupt, taste-challenged and highly successful alpha female. She is the book editor who gives Marilyn (Andrea Martin) a chance to publish her own book. Liu will appear in multiple episodes on the third season of the Billy Eichner-Julie Klausner comedy.

Liu becomes the latest addition to season three of the comedy and joins John Cho, who will recur and portray Billy's first serious boyfriend.

The 10-episode third season will bow Tuesday, Aug. 8 on Hulu.

Meanwhile, Liu is awaiting word on if Sherlock Holmes drama Elementary will be back for a sixth season at CBS. A formal decision is expected in the coming days ahead of the network's upfront presentation to ad buyers in New York.

Liu's credits include Charlie's Angels, Ally McBeal and Kill Bill. She's repped by ICM, Untitled and Schreck Rose.