The code below defines the placement and resolution of the scoreboard but I can't find out how to make the holding TAB appear the scoreboard:
def setup ():
fullScreen()
background(50)
def draw():
scorebordRectWidth = width / 2
scorebordRectHeight = height / 2
scorebordRectX = (width - scorebordRectWidth) / 2
scorebordRectY = (height - scorebordRectHeight) / 2
fill(255, 255, 255)
rect(scorebordRectX, scorebordRectY, scorebordRectWidth, scorebordRectHeight)