Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
screen test():
button:
id 'some_button_id_84'
xpos 80 # 80/1920
ypos 120 # 120/1080
action NullAction()
label some_story_84:
$ temp = renpy.get_placement('some_button_id_84')
$ print(temp.xpos) # not the alignment, but the actual x screen position
$ print(temp.ypos) # not the alignment, but the actual y screen position