A tempo marking's beats per minute can be changed by directly editing the text, if "Follow text" is selected in the Inspector and the tempo text is expressed in the form "note duration = number", as in this example, which includes the information "quarter note = 75":
As the topic continues to point out, you can also specify a tempo as an attribute of the staff-text.
Comments
The way that MuseScore does this is rather elegant . . .
https://musescore.org/en/handbook/tempo
As the topic continues to point out, you can also specify a tempo as an attribute of the staff-text.