Convert Canvas space to World coordinates

As title says, how to convert screen coordinates from Canvas space to World space?

Camera.main.ScreenToWorldPoint() is not working, google search didnt show any helpful results.

Thanks.

Check out the RectTransformUtility class. It has a bunch of wonderful functions for just this sort of thing.