Method: Gosu::TextInput#caret_pos

Defined in:
rdoc/gosu.rb

#caret_posInteger

Returns the position of the editing caret.

Returns:

  • (Integer)

    the position of the editing caret.



726
727
728
# File 'rdoc/gosu.rb', line 726

def caret_pos
  @caret_pos
end