Another object is referencing your function. For example another function or stored procedure is using the function you want to drop. If you would drop it, it would break the other function.
You either have to change the other object, or drop it first.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP