How to make it so that the player can draw or enter text?

Hey everyone, I’m studying gdscript for the hobby and I just can’t find information on how to make it so that the player can enter text or draw on an object. Can anyone help with this? Thanks in advance everyone.