App: version_string

version_string
  • Returns the version of Blender/BGE being used as a string

Return Type:
  • string
Example:
  • Blender 2.77 a returns: 2.77 (sub 0)
Sample Code

################## BGE version as a string
 
# import bge

import bge

# BGE version
vers = bge.app.version_string