This is probably a very stupid question.
I am trying to code a login screen.
I found the DirectEntry object and it seemed perfect to hold the login/password information.
But I could not found how to move it around, when I try setPos method, or informing pos argument in the initiation, it gives me the following error:
“TypeError: NodePath.setPos() argument 1 must be NodePath, not float”
the code is:
passwordField = DirectEntry(
text = "",
scale=.05,
initialText="",
numLines = 1,
focus=0,
obscured = True,
pos=(1.0,1.0)
)
I looked at the reference, but couldn’t really find any method to move to a given position. Is it possible or do I need to use a different approach?
Thanks in advance.