Skip to main content

CustomMouseCoords

CustomMouseCoords allows you to view the field coordinates of your cursor in any unit you'd like.

Combined with BotShadowOnHover, you can easily see the coordinates of your bot at the desired position as well.

info

You might be coming from the 'BotShadowOnHover' page and wondering why there's no heading in this image... it's because heading only shows up when BotShadowOnHover is enabled

info

The units shown default to your [GlobalUnits] configuration. If you want to use custom units just read on.

Usage

Basic

// Create a 'MeepMeepUtil' object for usage with this and the other meepmeeputils
MeepMeepUtil utils = new MeepMeepUtil(meepMeep);

// When you go to set up your MeepMeep instance, just add it as an entity
meepMeep.setBackground(Background.FIELD_POWERPLAY_OFFICIAL)
.setDarkMode(true)
.whateverElse()
.addEntity(util.customMouseCoords()) /* There we go */
.start();

Custom units

// When creating the customMouseCoords, you can just pass in whatever distance/angle units
Entity customMouseCoords = util.customMouseCoords(
DistanceUnits.WHATEVER,
AngleUnits.WHATEVER
);

// Then just pass 'customMouseCoords' in as an entity
meepMeep.setBackground(Background.FIELD_POWERPLAY_OFFICIAL)
.setDarkMode(true)
.whateverElse()
.addEntity(customMouseCoords) /* There we go */
.start()

// (AngleUnits is optional won't be used unless BotShadowOnHover is enabled)