Anatta does not mean that we have no access to bodily, sensorial, emotional, and cognitive functions, but only that we regard them merely as various “natural functions” rather than operations of our personality or ego, or as functions (or choices!) that are arising from any independent and conscious will or desire. So the idea is that they are precisely beyond our control, even when we wish to control them. This understanding allows one to grow increasingly dispassionate about every bodily and mental function, and thereby free from their emotional impact. With this understanding and dispassion, these functions begin to change accordingly and of their own accord, because they have their roots in “cognition”. In other words, we use human cognition as a capacity to subvert human cognition as a set of ideas, just as we use the same power of “reasoning” to formulate a puzzle and also to solve it, or to both invent a visual or auditory symbol and ascribe a specific meaning to it. All these functions are done by means of cognitive capacities, and that’s why animals cannot attain nibbana.
All sentient beings have a karmic (natural) inclination to feel the “I”, “me”, and “mine”, but only human has the cognitive capacities with which to either reinforce or withdraw from these natural tendencies. That’s how animals are more or less equal, but in human you will find both self-obsessed villains and absolved saints! So as Buddhist practitioners we use our cognitive capacities in ways which differ from the norm, instead of reinforcing identification with the senses and emotions, and instead of regarding them as things emanating from our independent and free will, we alienate ourselves from them and do not identify with them, or ascribe any sense of self to them - we see them just as if they were external stimuli.
But this does not make our cognition, or capacity to understand, to be the self, because cognition too, is a natural process. This part is somewhat subtle and is what causes a lot of confusion: The Buddha says that, just as a light or sound stimulates the eye or the ear, thoughts stimulate the mind, so “thinking” is just a stream of ideas which come to the mind, uninvited, just as a flash of light or vibration of sound touch the eyes or ears. It only so happens, naturally, that if the mind attends to a thought of sensuality, or hatred, or any other such samsaric reality, it tends to follow these thoughts, and possibly all the way to death; while if the mind attends to Dhamma, it naturally tends to follow it, and possibly all the way to nibbana. It all depends on what the mind finds attractive to attend to, and we are all disadvantaged because the mind is wired by nature to attend to sankhara or to forms and to seek their pleasurable effects, rather than attend to Dhamma, renunciation, and seclusion - that’s why most people are suffering and are headed to rebirth, and are not free from suffering and the round of rebirth!
But this nature of the mind can change gradually, depending on whether it understands Dhamma and nibbana, and whether it finds them attractive, too! But it’s not “you” that attends to this or that and finds them attractive or repulsive; the mind naturally attends and feels, and evaluates and seeks, and even observes itself as it does all these things; so not even self-awareness is a self or ego. Again this does not mean that these things are not real or are insignificant, but only and simply, they are not to be regarded as “personal” or emanating from any freewill or conscious choice. So I don’t “choose” to write this reply to you now, the mind is doing it, and it is also wondering at the same time whether you will understand it and whether it is worth the effort, and it also reviews the motivation behind writing it. The mind is doing all that and is self-aware of all that by way of meta-cognition. And you probably already know that meta-cognition, that is, being aware of being aware, can go ad infinitum; but suffice it in Buddhist practice, that awareness should float freely, unfettered by behavioural, emotional, and cognitive conditioned responses.
But much of this is only conceptual, experientially speaking a sense of self persists in me as i’m writing to you now, and always: despite of my understanding and belief in the delusional nature of that sense of self, it lingers, because it is naturally instilled in the deepest recesses of our consciousness. So I, or more accurately the awareness side of cognition that is embodied in what is customarily called myself, recognises this sense of self as a profound delusion that is harmful and afflictive, just as I also recognise all emotions to be. But a progressing Buddhist practitioner, that is, his awareness, which inclines to Dhamma and pursues nibbana, finally witnesses the continual decline of that natural sense of self, and finally realises, intuitively and experientially, rather than abstractly or conceptually, that no self exists aside from that delusional phantom, which continues to dissipate as we speak. Unfortunately, it is not possible to experience this dissipation of this profound delusion of selfhood and personality, and the sense of agency and intentionality, without practice.
I really hope this helped!